<template>
  <el-container style="width:100%">
    <el-header>
        <common-header></common-header>
    </el-header>
  <el-container >
    <el-aside style="width= 240px">
    <common-aside></common-aside>
    </el-aside>
    <el-main>
        <router-view></router-view>
    </el-main>
  </el-container>
</el-container>
</template>

<script lang="ts">
import { Component, Vue } from 'vue-property-decorator';
import CommonAside from '../components/CommonAside.vue';
import CommonHeader from '../components/CommonHeader.vue';

@Component({
  name:'Home',
  components: {
    CommonAside,
    CommonHeader,
  },
})
export default class HomeView extends Vue {}
</script>

<style lang='less' scoped>
.el-header{
  background-color: #333;
  padding: 0 0px;
}
.el-main{
  padding-top: 0;
}
.el-aside{
  width: 260px !important;
}
</style>